import 'package:boss/textStyle/text_style.dart';
import 'package:boss/ui/page/forgetPassword/forget_password_page.dart';
import 'package:boss/ui/page/regist/regist_page.dart';
import 'package:boss/ui/widget/label_button.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class LoginFunctionBar extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: EdgeInsets.only(
        top: 20.w,
      ),
      padding: EdgeInsets.symmetric(
        horizontal: 69.w,
      ),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: <Widget>[
          LabelButton(
            title: '注册门店',
            textStyle: TextStyleConstant().blue_24,
            onTap: () {
              Navigator.pushNamed(context, RegistPage.pageName);
            },
          ),
          LabelButton(
            title: '忘记密码?',
            textStyle: TextStyleConstant().normal_3_24,
            onTap: () {
              Navigator.pushNamed(context, ForgetPasswordPage.pageName);
            },
          ),
        ],
      )
    );
  }
}
